<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>独裁者游戏 | 经济学实验</title>
    <link rel="stylesheet" href="css/style.css"> 
</head>
<body>
    <!-- 游戏主容器 -->
    <div class="game-container">
        <h1>💰 独裁者游戏模拟器</h1>
        
        <!-- 金额配置区 -->
        <div class="config-section">
            <p>总金额：<span id="totalAmount">100</span> 元</p>
        </div>
 
        <!-- 操作区 -->
        <div class="action-section">
            <input type="number" id="selfAmount" 
                   placeholder="输入您保留的金额" 
                   min="0" max="100">
            <button onclick="submitDecision()">提交分配</button>
        </div>
 
        <!-- 结果展示区 -->
        <div id="resultSection" class="result-section"></div>
    </div>
 
    <script src="js/game.js"></script> 
</body>
</html>